import sys, string, os, codecs

if __name__ == "__main__":
    f = codecs.open('c:\\tmp\\Dizionario_Tolkien_utf8.dic', 'r','utf-8')
    #f = open('c:\\tmp\\abc2.txt', 'r')
    rows = f.readlines()
    f.close()
    for row in rows:
        row = row.strip()